<?php
// 名片模型
class InfoModel extends CommonModel {
	public $_validate	=	array(
        //array('account','/^[a-z]\w{3,}$/i','帐号格式错误'),
        array('real_name','require','真实姓名必须'),
        array('real_name','','真实姓名已经存在',self::EXISTS_VALIDATE,'unique',self::MODEL_INSERT),
        );

    public $_auto =	array(
        array('create_time','time',self::MODEL_BOTH,'function'),
        );
}
?>